<template>
	<view class="biao">
		<text>晋HU6578</text>
	</view>
  <view class="list-container">
    <ul>
      <li v-for="(item, index) in listItems" :key="index" :class="['list-item', item.color]">
        <div class="dot"></div>
        <text>{{ item.text }}</text>
		
      </li>
    </ul>
  </view>
  <view class="yun">
   <text class="fei">运费单价</text>
   <text class="dun">45/吨</text>
  </view>
  <view class="container">
      <view class="item" v-for="item in items" :key="item.label">
        <text class="label">{{ item.label }}</text>
        <text class="value">{{ item.value }}</text>
      </view>
</view>
<view class="container">
      <view class="item" v-for="item in items1" :key="item.label">
        <text class="label">{{ item.label }}</text>
        <text class="value">{{ item.value }}</text>
      </view>
</view>
 <view class="container2">
    <button class="correct-btn">信息准确</button>
    <button class="incorrect-btn">信息有误</button>
  </view>
</template>

<script setup>
import { ref } from 'vue';

const listItems = ref([
  { text: '榆林府谷-德源煤矿', color: 'blue' },
  { text: '忻州保德-冯家川站台', color: 'yellow' }
]);
const items = ref([
  { label: '装车毛重', value: '35.00吨' },
  { label: '装车皮重', value: '35.00吨' },
  { label: '装车净重', value: '35.00吨' }
]);
const items1 = ref([
  { label: '卸车净重', value: '34.80吨' },
  { label: '卸车毛重', value: '34.80吨' },
  { label: '卸车皮重', value: '34.80吨' },
  { label: '亏吨', value: '0.20吨' }
]);
</script>

<style   scoped>
	
	.container2 {
	  display: flex;
	  flex-direction: column;
	  align-items: center;
	  padding: 20px;
	}
	
	.correct-btn, .incorrect-btn {
	  width: 320px;
	  height: 40px;
	  border-radius: 20px;
	  font-size: 16px;
	  margin: 10px 0;
	}
	
	.correct-btn {
	  background-color: #003399;
	  color: white;
	  border: none;
	}
	
	.incorrect-btn {
	  background-color: white;
	  color: #ff0000;
	  border: 2px solid #ff0000;
	}
	.container {
	  padding: 20px;
	  font-size: 16px;
	}
	
	.item {
	  display: flex;
	  justify-content: space-between;
	  margin-bottom: 10px;
	}
	
	.label {
	  font-size: 35rpx;
	  color: #666;
	}
	
	.value {
	  font-size: 35rpx;
	  color: #333;
	}
	.yun{
		border-bottom: 1px solid #f0f0f0;
		display: flex;
		justify-content: space-between;
	}
	.biao{
		margin-left: 40rpx;
		font-size: 35rpx;
		
	}
.list-container {
  padding: 20px;
}
.fei{
	margin-left: 40rpx;
}
.dun{
	margin-right: 40rpx;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.list-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 10px;
}

.list-item.blue .dot {
  background-color: blue;
}

.list-item.yellow .dot {
  background-color: yellow;
}

span {
  font-size: 16px;
}
</style>